<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* img {
            float: left;
        } */
        div {
            height: 100px;
            width: 100px;
          
        }
    .one{
        background-color: pink;
        float: left;
    }
    .two {
        background-color: blue;
        float:left ;
    }
    </style>
</head>
<body>
  
     <!-- 图文环绕
    <img src="../8.8/bb.gif" alt="">hdgugalsuchjsgwedfygwjbvdhgnjglaeubhxvasjlbchjdjcli:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)
    yuysgchdhgshghdgugalsuchjsgwedfygwjbvdhgnjglaeubhxvasjlbchjdjcli:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)
    yuysgchdhgshghdgugalsuchjsgwedfygwjbvdhgnjglaeubhxvasjlbchjdjcli:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)
    yuysgchdhgshghdgugalsuchjsgwedfygwjbvdhgnjglaeubhxvasjlbchjdjcli:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)
    yuysgchdhgshghdgugalsuchjsgwedfygwjbvdhgnjglaeubhxvasjlbchjdjcli:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1)li:nth-child(2n+1) -->



    <!-- 网页布局 -->
    <div class="one">one</div>
    <div class="two">two</div>

</body>
</html>